package com.guoyansoft.model.dao;

import com.guoyansoft.model.pojo.Shop;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ShopDao {
    List<Shop> selectByPage(Map<String,Object> params);
    int selectTotalSize(Map<String,Object> params);
    int insert(Shop shop);
    int delete(Integer id);
    int update(Shop shop);
    Shop selectById(Integer id);
    List<Shop> selectAll(Map<String,Object> params);
    int selectcount(Map<String,Object> params);
    Shop selectByName(String name);
}
